QuickTime 3 Reference

| Previous | Chapter contents | Chapter top | Section top | Next |

Constants for Additional Audio Compression Formats

QuickTime 3 defines constants for several additional audio compression formats. These include kFloat32Format and kFloat64Format for single and double precision (i.e., big endian IEEE) floating point audio. It also defines 'alaw' for aLaw audio. All DV audio from NTSC (format 60) DVC streams is 'dvca' , regardless of the format of the data in the frame. In addition, a standard mapping for audio formats present in the Windows Audio Compression Manager is defined.

All ACM audio formats are defined with a 16-bit integer. These are mapped into a QuickTime four character code by putting 'ms' in the first two characters and the ACM 16-bit value in the second two characters. So the Microsoft ADPCM algorithm (ACM value of 1) has a QuickTime audio compression code of (('MS' << 16) | 1). This enables standard mapping of ACM audio into the QuickTime movie format.

QuickTime 3 has built-in support to decompress the following additional audio formats:

Both floating point decompressors support the type siSlopeAndIntercept atom to provide scaling and DC-offset support. QuickTime 3 has the ability to compress the following additional audio formats:

QuickTime 3 correctly imports compressed audio from AVI (. avi ) and Wave ( .WAV ) files. The AU file importer has also been enhanced to import aLaw, 8- and 16-bit uncompressed, and single and double precision floating point audio in addition to the m Law which it handled previously. A Sound Designer II file importer has been added. An AU file exporter has been added which can generate aLaw, m Law, single and double precision floating point, and uncompressed AU files. (Note that most other readers can only handle m Law, however).


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |